package com.yunyao.dao.mapper;

import com.yunyao.common.dto.order.ProjectOrderDto;
import com.yunyao.dao.model.BamuPurchaseApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 合同材料表 Mapper 接口
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Mapper
public interface BamuPurchaseApplyMapper extends BaseMapper<BamuPurchaseApply> {
    List<BamuPurchaseApply> getPurchaseApplyList(ProjectOrderDto projectOrderDto);
    List<BamuPurchaseApply> getPurchaseApplyPageList(ProjectOrderDto projectOrderDto);

    Long pageCount(ProjectOrderDto projectOrderDto);

    BigDecimal getSumTaxTotalPriceByContractId(String contractId);


}
